package com.rayboo.example.design.pattern.template;

/**
 * 模板方法设计模式
 * http://c.biancheng.net/view/1376.html
 */
public class Main {

    public static void main(String[] args) {
        Game cricketGame = new CricketGame();
        cricketGame.play();

        Game footballGame = new FootballGame();
        footballGame.play();
    }
}
